﻿<input type="text" data-ng-model="search.name" />
<input type="text" data-ng-model="order" />
<input type="number" data-ng-model="take" data-ng-init="order='name'; take=5;" />
<table class="table table-striped">
    <tr data-ng-repeat="bev in beverages | filter: search | orderBy:order | limitTo: take">
        <td>{{bev.name | lowercase}}</td>
        <td>{{bev.origin | reverse}}</td>
        <td>{{bev.category}}</td>
        <td><img style="height:100px; width:100px;" data-ng-src="{{bev.image}}" ></td>
    </tr>
</table>